package com.sunny.myproject.storem.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sunny.myproject.produce.entity.Mrp;
import com.sunny.myproject.system.entity.IdEntity;

/**
 * 领料
 * @author sunny_nie
 *
 */
@Entity
@Table(name="tb_getMateriel")
public class GetMateriel extends IdEntity{

	private Mrp mrp;
	
	//领料单号
	private String code;
	//领料日期
	private Date getDate;
	//领料人
	private String getMan;
	//签字人
	private String signMan;
	//签字日期
	private Date signDate;

	@ManyToOne(targetEntity=Mrp.class)
	public Mrp getMrp() {
		return mrp;
	}
	public void setMrp(Mrp mrp) {
		this.mrp = mrp;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getGetDate() {
		return getDate;
	}
	public void setGetDate(Date getDate) {
		this.getDate = getDate;
	}
	public String getGetMan() {
		return getMan;
	}
	public void setGetMan(String getMan) {
		this.getMan = getMan;
	}
	public String getSignMan() {
		return signMan;
	}
	public void setSignMan(String signMan) {
		this.signMan = signMan;
	}
	public Date getSignDate() {
		return signDate;
	}
	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}
	
	
}
